#======================================================================
# Notes:Use this command to anonymously check out the latest project source code:
# Non-members may check out a read-only working copy anonymously over HTTP.
# http://YHQCodingWsp.googlecode.com/svn/trunk/
# DATE:		2013-4-16
# Project file YHQCAATools.pro
# Base on QT5.0
#======================================================================
QT       += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = YHQCAATools  //plugin name

DEFINES += YHQCAATools_LIBRARY

TEMPLATE = lib

CONFIG += plugin

CONFIG(release, debug|release):     DESTDIR = $$PWD/../../Release/Plugins
else:CONFIG(debug, debug|release):  DESTDIR = $$PWD/../../Debug/Plugins

HEADERS  += \
    PrivateInterfaces/YHQCAAToolsPlugin.h \
    PrivateInterfaces/YHQDockWidgetCAATools.h \
    PrivateInterfaces/YHQFolderCAAOperate.h \
    PublicInterfaces/YHQCAATools_Global.h \

FORMS    += \
    YHQDockWidgetCAATools.ui

SOURCES += \
    src/YHQCAAToolsPlugin.cpp \
    src/YHQDockWidgetCAATools.cpp \
    src/YHQFolderCAAOperate.cpp \


#include path
INCLUDEPATH += \
    $$PWD/PublicInterfaces \ # local public header
    $$PWD/PrivateInterfaces \ # local Private header
    $$PWD/Plugins \ # local Plugins header
    $$PWD/../YHQCodingCore/PublicInterfaces  \# YHQCodingCore public header
    $$PWD/../../PublicInterfaces #outside public header

#depends library
LIBS += -L$$DESTDIR/../ -lYHQCodingCore

RESOURCES += \
    YHQCAATools.qrc
OTHER_FILES += \
    Plugins/YHQCAATools.json
